package com.ruoyi.dangerControl.domain;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import com.fasterxml.jackson.databind.ser.std.ToStringSerializer;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 隐患-巡检任务对象 hd_check_task
 *
 * @author lth
 * @date 2023-12-13
 */
public class HdCheckTask extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 主键 */
    @JsonSerialize(using = ToStringSerializer.class)
    private Long id;

    /** 名称 */
    @Excel(name = "名称")
    private String name;

    /** 检查类型id */
    @Excel(name = "检查类型id")
    private String typeId;

    /** 检查类型名称 */
    @Excel(name = "检查类型名称")
    private String typeName;

    /** 负责人id */
    @Excel(name = "负责人id")
    private String headerId;

    /** 负责人 */
    @Excel(name = "负责人")
    private String headerName;

    /** 检查专业id */
    @Excel(name = "检查专业id")
    private String specialityId;

    /** 检查专业 */
    @Excel(name = "检查专业")
    private String speciality;

    /** 检查起始时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "检查起始时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date startTime;

    /** 检查终止时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "检查终止时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date endTime;

    /** 巡检周期计量单位 */
    @Excel(name = "巡检周期计量单位")
    private String cycleUnit;

    /** 排查内容 */
    @Excel(name = "排查内容")
    private String content;

    /** 检查成员id */
    @Excel(name = "检查成员id")
    private String checkMemberId;

    /** 检查成员 */
    @Excel(name = "检查成员")
    private String checkMember;

    /** 创建人 */
    @Excel(name = "创建人")
    private String createByName;

    /** 创建时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "创建时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date createAt;

    /** 更新人 */
    @Excel(name = "更新人")
    private String updateByName;

    /** 更新时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "更新时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date updateAt;

    /** 排序 */
    @Excel(name = "排序")
    private Long sorting;

    /** 状态, 默认1(1:正常；2:冻结；98:关闭；99:删除)； */
    @Excel(name = "状态, 默认1(1:正常；2:冻结；98:关闭；99:删除)；")
    private Long status;

    /** 登记人id */
    @Excel(name = "登记人id")
    private String reporterId;

    /** 登记人 */
    @Excel(name = "登记人")
    private String reporter;

    /** 意见 */
    @Excel(name = "意见")
    private String opinion;

    /** 计划主键 */
    @Excel(name = "计划主键")
    private Long planId;

    /** 实际开始时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "实际开始时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date realStartTime;

    /** 实际完成时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "实际完成时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date realEndTime;

    public void setId(Long id)
    {
        this.id = id;
    }

    public Long getId()
    {
        return id;
    }
    public void setName(String name)
    {
        this.name = name;
    }

    public String getName()
    {
        return name;
    }
    public void setTypeId(String typeId)
    {
        this.typeId = typeId;
    }

    public String getTypeId()
    {
        return typeId;
    }
    public void setTypeName(String typeName)
    {
        this.typeName = typeName;
    }

    public String getTypeName()
    {
        return typeName;
    }
    public void setHeaderId(String headerId)
    {
        this.headerId = headerId;
    }

    public String getHeaderId()
    {
        return headerId;
    }
    public void setHeaderName(String headerName)
    {
        this.headerName = headerName;
    }

    public String getHeaderName()
    {
        return headerName;
    }
    public void setSpecialityId(String specialityId)
    {
        this.specialityId = specialityId;
    }

    public String getSpecialityId()
    {
        return specialityId;
    }
    public void setSpeciality(String speciality)
    {
        this.speciality = speciality;
    }

    public String getSpeciality()
    {
        return speciality;
    }
    public void setStartTime(Date startTime)
    {
        this.startTime = startTime;
    }

    public Date getStartTime()
    {
        return startTime;
    }
    public void setEndTime(Date endTime)
    {
        this.endTime = endTime;
    }

    public Date getEndTime()
    {
        return endTime;
    }
    public void setCycleUnit(String cycleUnit)
    {
        this.cycleUnit = cycleUnit;
    }

    public String getCycleUnit()
    {
        return cycleUnit;
    }
    public void setContent(String content)
    {
        this.content = content;
    }

    public String getContent()
    {
        return content;
    }
    public void setCheckMemberId(String checkMemberId)
    {
        this.checkMemberId = checkMemberId;
    }

    public String getCheckMemberId()
    {
        return checkMemberId;
    }
    public void setCheckMember(String checkMember)
    {
        this.checkMember = checkMember;
    }

    public String getCheckMember()
    {
        return checkMember;
    }
    public void setCreateByName(String createByName)
    {
        this.createByName = createByName;
    }

    public String getCreateByName()
    {
        return createByName;
    }
    public void setCreateAt(Date createAt)
    {
        this.createAt = createAt;
    }

    public Date getCreateAt()
    {
        return createAt;
    }
    public void setUpdateByName(String updateByName)
    {
        this.updateByName = updateByName;
    }

    public String getUpdateByName()
    {
        return updateByName;
    }
    public void setUpdateAt(Date updateAt)
    {
        this.updateAt = updateAt;
    }

    public Date getUpdateAt()
    {
        return updateAt;
    }
    public void setSorting(Long sorting)
    {
        this.sorting = sorting;
    }

    public Long getSorting()
    {
        return sorting;
    }
    public void setStatus(Long status)
    {
        this.status = status;
    }

    public Long getStatus()
    {
        return status;
    }
    public void setReporterId(String reporterId)
    {
        this.reporterId = reporterId;
    }

    public String getReporterId()
    {
        return reporterId;
    }
    public void setReporter(String reporter)
    {
        this.reporter = reporter;
    }

    public String getReporter()
    {
        return reporter;
    }
    public void setOpinion(String opinion)
    {
        this.opinion = opinion;
    }

    public String getOpinion()
    {
        return opinion;
    }
    public void setPlanId(Long planId)
    {
        this.planId = planId;
    }

    public Long getPlanId()
    {
        return planId;
    }
    public void setRealStartTime(Date realStartTime)
    {
        this.realStartTime = realStartTime;
    }

    public Date getRealStartTime()
    {
        return realStartTime;
    }
    public void setRealEndTime(Date realEndTime)
    {
        this.realEndTime = realEndTime;
    }

    public Date getRealEndTime()
    {
        return realEndTime;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("name", getName())
            .append("typeId", getTypeId())
            .append("typeName", getTypeName())
            .append("headerId", getHeaderId())
            .append("headerName", getHeaderName())
            .append("specialityId", getSpecialityId())
            .append("speciality", getSpeciality())
            .append("startTime", getStartTime())
            .append("endTime", getEndTime())
            .append("cycleUnit", getCycleUnit())
            .append("content", getContent())
            .append("checkMemberId", getCheckMemberId())
            .append("checkMember", getCheckMember())
            .append("createBy", getCreateBy())
            .append("createByName", getCreateByName())
            .append("createAt", getCreateAt())
            .append("updateBy", getUpdateBy())
            .append("updateByName", getUpdateByName())
            .append("updateAt", getUpdateAt())
            .append("sorting", getSorting())
            .append("remark", getRemark())
            .append("status", getStatus())
            .append("reporterId", getReporterId())
            .append("reporter", getReporter())
            .append("opinion", getOpinion())
            .append("planId", getPlanId())
            .append("realStartTime", getRealStartTime())
            .append("realEndTime", getRealEndTime())
            .toString();
    }
}
